﻿import kliment.data.serialization.json.JSONEncoder;
import kliment.data.serialization.json.JSONDecoder;

/**
 * ...
 * @author	Kliment
 * @version 1.1.0
 */
class kliment.data.serialization.json.JSON {
	
	public static function encode(value:Object):String {	
		return new JSONEncoder(value);
	}
		
	public static function decode(value:String, strict:Boolean):Object	{	
		return new JSONDecoder(value, strict || true);	
	}
}